package com.example.demo.service;

import com.example.demo.entity.Licence;

import java.util.List;
import java.util.Map;

public interface LicenceService {
    List<Licence> findAllLicence();

    List<Map.Entry<String, Double>> findHotLicence();

    Licence addLicence(Licence licence);
    Long deleteLicence(Long licenceId);
    Licence updateLicence(Licence licence);
}
